package icu.qx.diagram.domain;

import com.ruoyi.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WorkReport {
    /** 报工时间*/
    @Excel(name = "报工时间")
    private String reportTime;
    /** 人员编码 */
    @Excel(name = "人员编码")
    private String reportPeoCode;
    /** 人员姓名 */
    @Excel(name = "人员姓名")
    private String recQuaPeoName;
    /** 生产日期 */
    @Excel(name = "生产日期")
    private String prProductionDate;
    /** 关联工单 */
    @Excel(name = "关联工单")
    private String reprotTCodeName;
    /** 报工工序 */
    @Excel(name = "报工工序")
    private String reportProcedureName;
    /** 产品名称 */
    @Excel(name = "产品名称")
    private String pdName;
    /** 产品型号 */
    @Excel(name = "产品型号")
    private String pdGoodType;
    /** 生产数量 */
    @Excel(name = "生产数量")
    private Integer reportCompleteNum;
    /** 合格数量 */
    @Excel(name = "合格数量")
    private Integer reportGood;
    /** 不合格数量 */
    @Excel(name = "不合格数量")
    private Integer reportBad;
    /** 开始时间 */
    private String beginCreateTime;
    /** 结束时间 */
    private String endCreateTime;
    /** 制单人 */
    private String creatorName;
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("reportTime", getReportTime())
                .append("reportPeoCode", getReportPeoCode())
                .append("recQuaPeoName", getRecQuaPeoName())
                .append("prProductionDate", getPrProductionDate())
                .append("reprotTCodeName", getReprotTCodeName())
                .append("reportProcedureName", getReportProcedureName())
                .append("pdName", getPdName())
                .append("pdGoodType", getPdGoodType())
                .append("reportCompleteNum", getReportCompleteNum())
                .append("reportGood", getReportGood())
                .append("reportBad", getReportBad())
                .append("creatorName", getCreatorName())
                .toString();
    }
}
